package cn.icanci.ladybird.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author: icanci
 * @date: Created in 2020/10/9 10:41
 * @classAction: 控制错误页面跳转
 */
@Controller
@RequestMapping("/api/v1/pub/user")
public class UserErrorPagesController {

    @GetMapping("/404")
    public String user404() {
        return "user/404";
    }


    @GetMapping("/500")
    public String user500() {
        return "user/500";
    }

    @GetMapping("/no-authority")
    public String userNoAuthority() {
        return "user/no-authority";
    }
}
